package com.marver.sys.service;

import com.marver.common.dao.BaseDAOImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description: 菜单service
 * @Author: Marver
 * @date: 2018-04-26 09:55
 **/
@Service
public class MenuService extends BaseDAOImpl {
    /**
     * 查询管理员所有权限
     * @return
     */
    public List<String> queryAdminPerms(){
        return (List<String>) this.listBySqlMap("menu.queryAdminPerms", null);
    }
}
